//
//  StoreInformationTwoHeaderView.m
//  GLGW_Shoping
//
//  Created by whx on 2018/12/10.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "StoreInformationTwoHeaderView.h"

@implementation StoreInformationTwoHeaderView
{
    GLGWLabel *leftLab;
}

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithReuseIdentifier:reuseIdentifier]) {
        GLGWView *baView = [[GLGWView alloc] initWithInSuperView:self.contentView];
        baView.backgroundColor = [UIColor whiteColor];
        [baView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.left.right.bottom.equalTo(self.contentView);
        }];
        GLGWLabel *lab = [[GLGWLabel alloc] initWithFont:SYSTEMFONT(16) theColor:kColor_Rule_Black inSuperView:self.contentView];
        lab.text = @"联系信息";
        [lab mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.contentView).offset(kWidthProportion_In_iPhoneTriploid(15));
            make.top.equalTo(self.contentView).offset(kHeightProportion_In_iPhoneTriploid(20));
            make.height.equalTo(@(kHeightProportion_In_iPhoneTriploid(22)));
        }];
        leftLab = lab;
    }
    return self;
}

- (void)setLeftStr:(NSString *)leftStr
{
    _leftStr = leftStr;
    leftLab.text = leftStr;
}

@end
